coroutines - meaning and definition. What is coroutines
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is coroutines - definition

COMPUTER SOFTWARE COMPONENT
Co-routine; Coroutines; Cothread; Co-routines; Deterministic concurrency; Suspended computation; Yield statement; Comparison of programming languages (coroutines)

Coroutine         
Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.
Coroutine Pascal      
["Control Separation in Programming languages", Lemon et al, ACM Ann Conf 1977]. (1994-12-08)
Gentleman's Portable Coroutine System      
A coroutine package in Fortran. ["A Portable Coroutine System", W.M. Gentleman, Info Proc 71, C.V. Freiman ed, 1972]. (1995-02-01)

Wikipedia

Coroutine

Coroutines are computer program components that allow execution to be suspended and resumed, generalizing subroutines for cooperative multitasking. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.

They have been described as "functions whose execution you can pause".

Melvin Conway coined the term coroutine in 1958 when he applied it to the construction of an assembly program. The first published explanation of the coroutine appeared later, in 1963.